﻿(function () {
    $namespace.register("Comkarl.Calipso.Controls");

    $global.Comkarl.Calipso.Controls.SampleControl = $def({
        $constructor: function () { },
        $members: {
            render: function () {
                var lblText = $("<span />");
                lblText.text(this.resources.HelloWorldText);
                lblText.addClass(this.elementCssClass);

                $(this.parentElementSelector).append(lblText);
            }
        },
        $extends: $calipso$control
    });

    $calipso$manager.registerControl("SampleControl", $global.Comkarl.Calipso.Controls.SampleControl);
})();